.class public Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field a:Lorg/json/JSONObject;

.field public b:Landroid/os/Handler;

.field private c:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private d:Lcom/waiqin365/lightapp/view/NoNetView;

.field private e:Landroid/widget/LinearLayout;

.field private f:Landroid/widget/LinearLayout;

.field private g:Landroid/widget/LinearLayout;

.field private h:Ljava/util/List;

.field private i:Ljava/lang/String;

.field private j:Ljava/lang/String;

.field private k:Ljava/lang/String;

.field private l:Ljava/lang/String;

.field private m:Ljava/lang/String;

.field private n:Ljava/lang/String;

.field private o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

.field private p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

.field private q:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->i:Ljava/lang/String;

    const-string/jumbo v0, "1"

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->j:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->k:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->l:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->n:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/aa;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kaoqin/aa;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 8

    const/4 v7, 0x1

    const/4 v6, 0x0

    new-instance v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setBottomLineStatus(Z)V

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, p4}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setMustinput(Ljava/lang/String;)V

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setType(I)V

    const-string/jumbo v1, "yyyy-MM-dd"

    invoke-static {p5, v1}, Lcom/waiqin365/lightapp/kaoqin/f/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v3, "year"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v7}, Ljava/util/Calendar;->get(I)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v1, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "month"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v5, 0x2

    invoke-virtual {v2, v5}, Ljava/util/Calendar;->get(I)I

    move-result v5

    add-int/lit8 v5, v5, 0x1

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v1, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "day"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v5, 0x5

    invoke-virtual {v2, v5}, Ljava/util/Calendar;->get(I)I

    move-result v2

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, ""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/lang/Object;)V

    const-string/jumbo v1, "1"

    invoke-virtual {v1, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEdit(Z)V

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEnabled(Z)V

    :goto_0
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setCode(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/ag;

    invoke-direct {v1, p0, v0}, Lcom/waiqin365/lightapp/kaoqin/ag;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setOnDateTimePickerBtnOnClickListener(Lcom/waiqin365/lightapp/view/ec;)V

    return-void

    :cond_0
    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEdit(Z)V

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEnabled(Z)V

    goto :goto_0
.end method

.method private a(Landroid/view/View;)V
    .locals 7

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Z)Z

    move-result v0

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->n:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    const-string/jumbo v1, "data_id"

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->n:Ljava/lang/String;

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    :goto_1
    const-string/jumbo v1, "form_id"

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->k:Ljava/lang/String;

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "form_data"

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "approval_mode"

    const-string/jumbo v4, ""

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "ccs"

    const-string/jumbo v4, ""

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "is_filish"

    const-string/jumbo v4, ""

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "opinion"

    const-string/jumbo v4, ""

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "tab_type"

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->j:Ljava/lang/String;

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1

    if-eqz v1, :cond_1

    :try_start_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->f()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v5}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->c()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    const v6, 0x7f080065

    invoke-virtual {v5, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_0

    :catch_0
    move-exception v1

    :try_start_2
    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_1

    :cond_1
    :goto_2
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v4, "data"

    invoke-virtual {v3}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v4, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, ""

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->showProgressDialog(Ljava/lang/String;)V

    new-instance v3, Lcom/waiqin365/lightapp/kaoqin/c/b/c;

    invoke-direct {v3, v2, v0, v1}, Lcom/waiqin365/lightapp/kaoqin/c/b/c;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b:Landroid/os/Handler;

    invoke-direct {v0, v1, v3}, Lcom/waiqin365/lightapp/kaoqin/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kaoqin/c/f;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/b;->start()V

    goto/16 :goto_0

    :cond_2
    :try_start_3
    const-string/jumbo v1, "flow_id"

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m:Ljava/lang/String;

    invoke-virtual {v3, v1, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_3
    .catch Lorg/json/JSONException; {:try_start_3 .. :try_end_3} :catch_1

    goto/16 :goto_1

    :catch_1
    move-exception v1

    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_2

    :cond_3
    :try_start_4
    const-string/jumbo v4, "approvers"

    invoke-virtual {v3, v4, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_4
    .catch Lorg/json/JSONException; {:try_start_4 .. :try_end_4} :catch_0

    goto :goto_2
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Landroid/view/View;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Landroid/view/View;)V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setBottomLineStatus(Z)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v1, v2, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;-><init>(Landroid/content/Context;)V

    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setTitle(Ljava/lang/String;)V

    invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    invoke-static {p3}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v1

    iput v1, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->b:F

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "  "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const v2, 0x7f0802de

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setContent(Ljava/lang/String;)V

    :cond_0
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const-string/jumbo v2, "#ffffff"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setBackgroundColor(I)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setTag(Ljava/lang/Object;)V

    const-string/jumbo v2, "1"

    invoke-virtual {v2, p4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setEdit(Z)V

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setEnabled(Z)V

    :goto_0
    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setBottomLineStatus(Z)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void

    :cond_1
    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setEdit(Z)V

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->setEnabled(Z)V

    goto :goto_0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 15

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    const-string/jumbo v5, ""

    const-string/jumbo v4, ""

    const-wide/16 v2, 0x0

    invoke-static/range {p2 .. p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    if-nez v7, :cond_9

    :try_start_0
    new-instance v10, Lorg/json/JSONArray;

    move-object/from16 v0, p2

    invoke-direct {v10, v0}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    if-eqz v10, :cond_6

    invoke-virtual {v10}, Lorg/json/JSONArray;->length()I

    move-result v7

    if-lez v7, :cond_6

    const/4 v7, 0x0

    move v9, v7

    :goto_0
    invoke-virtual {v10}, Lorg/json/JSONArray;->length()I

    move-result v7

    if-ge v9, v7, :cond_6

    invoke-virtual {v10, v9}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v8

    new-instance v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;

    invoke-direct {v11}, Lcom/waiqin365/lightapp/kaoqin/c/a/a;-><init>()V

    const-string/jumbo v7, "startDate"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_1

    const-string/jumbo v7, "startDate"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    :goto_1
    iput-object v7, v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;->a:Ljava/lang/String;

    const-string/jumbo v7, "countDate"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_2

    const-string/jumbo v7, "countDate"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    :goto_2
    iput-object v7, v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;->b:Ljava/lang/String;

    const-string/jumbo v7, "endDate"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_3

    const-string/jumbo v7, "endDate"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    :goto_3
    iput-object v7, v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;->c:Ljava/lang/String;

    const-string/jumbo v7, "readonly"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_4

    const-string/jumbo v7, "readonly"

    invoke-virtual {v8, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    :goto_4
    iput-object v7, v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;->d:Ljava/lang/String;

    if-nez v9, :cond_5

    iget-object v5, v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;->a:Ljava/lang/String;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    move-object v7, v4

    move-object v8, v5

    :goto_5
    :try_start_1
    iget-object v4, v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;->b:Ljava/lang/String;

    invoke-static {v4}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    move-result-wide v4

    add-double/2addr v4, v2

    if-eqz v11, :cond_0

    :try_start_2
    invoke-interface {v6, v11}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_2

    :cond_0
    add-int/lit8 v2, v9, 0x1

    move v9, v2

    move-wide v2, v4

    move-object v4, v7

    move-object v5, v8

    goto :goto_0

    :cond_1
    :try_start_3
    const-string/jumbo v7, ""

    goto :goto_1

    :cond_2
    const-string/jumbo v7, ""

    goto :goto_2

    :cond_3
    const-string/jumbo v7, ""

    goto :goto_3

    :cond_4
    const-string/jumbo v7, ""

    goto :goto_4

    :cond_5
    invoke-virtual {v10}, Lorg/json/JSONArray;->length()I

    move-result v7

    add-int/lit8 v7, v7, -0x1

    if-ne v9, v7, :cond_8

    iget-object v4, v11, Lcom/waiqin365/lightapp/kaoqin/c/a/a;->c:Ljava/lang/String;
    :try_end_3
    .catch Lorg/json/JSONException; {:try_start_3 .. :try_end_3} :catch_0

    move-object v7, v4

    move-object v8, v5

    goto :goto_5

    :cond_6
    move-object v7, v5

    move-object v12, v4

    move-wide v4, v2

    move-object v3, v12

    :goto_6
    if-nez v6, :cond_7

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    :goto_7
    new-instance v6, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    invoke-direct {v6, p0}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;-><init>(Landroid/content/Context;)V

    invoke-static {v7}, Lcom/fiberhome/gaea/client/d/k;->l(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v7

    invoke-static {v3}, Lcom/fiberhome/gaea/client/d/k;->l(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v3

    move-object/from16 v0, p4

    move-object/from16 v1, p5

    invoke-virtual {v6, v0, v1, v7, v3}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->setCountDate(Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;Ljava/util/Date;)V

    move-object/from16 v0, p1

    invoke-virtual {v6, v0}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->setLabel(Ljava/lang/String;)V

    new-instance v3, Ljava/text/DecimalFormat;

    const-string/jumbo v7, "#.#"

    invoke-direct {v3, v7}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v4, v5}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v6, v3}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->setTotleTimeCount(Ljava/lang/String;)V

    invoke-virtual {v6, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->setPageInit(Ljava/util/List;)V

    move-object/from16 v0, p3

    invoke-virtual {v6, v0}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->setTag(Ljava/lang/Object;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v6, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v2, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void

    :catch_0
    move-exception v7

    move-object v12, v7

    move-object v7, v5

    move-wide v13, v2

    move-object v3, v4

    move-object v2, v12

    move-wide v4, v13

    :goto_8
    invoke-virtual {v2}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_6

    :catch_1
    move-exception v4

    move-object v12, v4

    move-wide v4, v2

    move-object v2, v12

    move-object v3, v7

    move-object v7, v8

    goto :goto_8

    :catch_2
    move-exception v2

    move-object v3, v7

    move-object v7, v8

    goto :goto_8

    :cond_7
    move-object v2, v6

    goto :goto_7

    :cond_8
    move-object v7, v4

    move-object v8, v5

    goto/16 :goto_5

    :cond_9
    move-object v7, v5

    move-object v12, v4

    move-wide v4, v2

    move-object v3, v12

    goto :goto_6
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-virtual {v0, p4}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setHint(Ljava/lang/String;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setBottomLineStatus(Z)V

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setMustinput(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v0, p5}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setValue(Ljava/lang/String;)V

    const-string/jumbo v1, "1"

    invoke-virtual {v1, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setEdit(Z)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setEnabled(Z)V

    :goto_0
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void

    :cond_0
    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setEdit(Z)V

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->setEnabled(Z)V

    goto :goto_0
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 7

    const/4 v4, 0x1

    const/4 v0, 0x0

    new-instance v1, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setBottomLineStatus(Z)V

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->b(Z)V

    invoke-virtual {v1, p1}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v1, p4}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setMustinput(Ljava/lang/String;)V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "@@@###"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setTag(Ljava/lang/Object;)V

    const-string/jumbo v2, "1"

    invoke-virtual {v2, p7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setEdit(Z)V

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setEnabled(Z)V

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setClickAble(Z)V

    :goto_0
    invoke-virtual {v1, p3}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setTextHint(Ljava/lang/String;)V

    :try_start_0
    new-instance v2, Lorg/json/JSONArray;

    invoke-direct {v2, p6}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    new-instance v3, Ljava/lang/StringBuffer;

    invoke-direct {v3}, Ljava/lang/StringBuffer;-><init>()V

    :goto_1
    invoke-virtual {v2}, Lorg/json/JSONArray;->length()I

    move-result v4

    if-ge v0, v4, :cond_4

    invoke-static {p5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_0

    invoke-virtual {v2, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    const-string/jumbo v5, "name"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {p5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    invoke-virtual {v2, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    const-string/jumbo v5, "name"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setValue(Ljava/lang/String;)V

    :cond_0
    invoke-virtual {v2}, Lorg/json/JSONArray;->length()I

    move-result v4

    add-int/lit8 v4, v4, -0x1

    if-ge v0, v4, :cond_3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    const-string/jumbo v6, "name"

    invoke-virtual {v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, "#"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_2
    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setEdit(Z)V

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setEnabled(Z)V

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setClickAble(Z)V

    goto :goto_0

    :cond_3
    :try_start_1
    invoke-virtual {v2}, Lorg/json/JSONArray;->length()I

    move-result v4

    add-int/lit8 v4, v4, -0x1

    if-ne v0, v4, :cond_1

    invoke-virtual {v2, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v4

    const-string/jumbo v5, "name"

    invoke-virtual {v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    :goto_3
    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v0, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void

    :cond_4
    :try_start_2
    invoke-virtual {v3}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->setSelectItem(Ljava/lang/String;)V
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_3
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 8

    const/4 v7, 0x1

    const/4 v6, 0x0

    new-instance v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setBottomLineStatus(Z)V

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, p4}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setMustinput(Ljava/lang/String;)V

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setType(I)V

    const-string/jumbo v1, "HH:mm"

    invoke-static {p5, v1}, Lcom/waiqin365/lightapp/kaoqin/f/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v3, "hour"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v5, 0xb

    invoke-virtual {v2, v5}, Ljava/util/Calendar;->get(I)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v1, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "minute"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v5, 0xc

    invoke-virtual {v2, v5}, Ljava/util/Calendar;->get(I)I

    move-result v2

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v4, ""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/lang/Object;)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setCode(Ljava/lang/String;)V

    const-string/jumbo v1, "1"

    invoke-virtual {v1, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEdit(Z)V

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEnabled(Z)V

    :goto_0
    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/ah;

    invoke-direct {v1, p0, v0}, Lcom/waiqin365/lightapp/kaoqin/ah;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setOnDateTimePickerBtnOnClickListener(Lcom/waiqin365/lightapp/view/ec;)V

    return-void

    :cond_0
    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEdit(Z)V

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEnabled(Z)V

    goto :goto_0
.end method

.method private b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    invoke-virtual {v0, p4}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setHint(Ljava/lang/String;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setBottomLineStatus(Z)V

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setMustinput(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v0, p5}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setValue(Ljava/lang/String;)V

    const-string/jumbo v1, "1"

    invoke-virtual {v1, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setEdit(Z)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setEnabled(Z)V

    :goto_0
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void

    :cond_0
    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setEdit(Z)V

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setEnabled(Z)V

    goto :goto_0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method private c(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 7

    const/4 v6, 0x2

    const/4 v5, 0x1

    const/4 v2, 0x0

    new-instance v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setBottomLineStatus(Z)V

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setLabel(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, p4}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setMustinput(Ljava/lang/String;)V

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setType(I)V

    const-string/jumbo v1, "1"

    invoke-virtual {v1, p6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEdit(Z)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEnabled(Z)V

    :goto_0
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v1

    invoke-static {p5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    const-string/jumbo v2, "yyyy-MM-dd HH:mm"

    invoke-static {p5, v2}, Lcom/waiqin365/lightapp/kaoqin/f/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    :cond_0
    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v3, "year"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v5}, Ljava/util/Calendar;->get(I)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v2, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "month"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v6}, Ljava/util/Calendar;->get(I)I

    move-result v5

    add-int/lit8 v5, v5, 0x1

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v2, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "day"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v5, 0x5

    invoke-virtual {v1, v5}, Ljava/util/Calendar;->get(I)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v2, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "hour"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v5, 0xb

    invoke-virtual {v1, v5}, Ljava/util/Calendar;->get(I)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v2, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "minute"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const/16 v5, 0xc

    invoke-virtual {v1, v5}, Ljava/util/Calendar;->get(I)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v2, v3, v4}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v3, "week"

    const/4 v4, 0x7

    invoke-virtual {v1, v4}, Ljava/util/Calendar;->get(I)I

    move-result v1

    invoke-static {v1}, Lcom/waiqin365/lightapp/view/du;->a(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v2, v3, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/lang/Object;)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setCode(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/kaoqin/ai;

    invoke-direct {v1, p0, v0}, Lcom/waiqin365/lightapp/kaoqin/ai;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setOnDateTimePickerBtnOnClickListener(Lcom/waiqin365/lightapp/view/ec;)V

    return-void

    :cond_1
    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEdit(Z)V

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setEnabled(Z)V

    goto/16 :goto_0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->n:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->k:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->j:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic s(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic t(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic u(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic v(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic w(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic x(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic y(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    const/16 v1, 0x8

    const v0, 0x7f0c0d55

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->l:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->d:Lcom/waiqin365/lightapp/view/NoNetView;

    const v0, 0x7f0c0d56

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0d57

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->f:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0d58

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    return-void
.end method

.method public a(Lorg/json/JSONArray;)V
    .locals 11

    const/4 v10, -0x2

    const/high16 v9, 0x3f800000    # 1.0f

    const/4 v8, -0x1

    const/4 v1, 0x0

    if-eqz p1, :cond_7

    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-lez v0, :cond_7

    move v0, v1

    :goto_0
    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v2

    if-ge v0, v2, :cond_7

    invoke-virtual {p1, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v3

    const-string/jumbo v2, "name"

    invoke-virtual {v3, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v2, "code"

    invoke-virtual {v3, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v2, "url"

    invoke-virtual {v3, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    if-ne v0, v2, :cond_1

    move v2, v1

    :goto_1
    const-string/jumbo v7, "add"

    invoke-virtual {v7, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_2

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v2, v4}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v2, v6}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v2, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    const v4, 0x7f0b001b

    invoke-virtual {v3, v4}, Landroid/content/res/Resources;->getColor(I)I

    move-result v3

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setTextColor(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v2, v1}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v2, v2, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    const/4 v2, 0x1

    goto :goto_1

    :cond_2
    const-string/jumbo v7, "del"

    invoke-virtual {v7, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_3

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v3, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-direct {v3, v5}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v4, v8, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setBtnInit(Ljava/lang/String;IZ)V

    invoke-virtual {v3, v6}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setTag(Ljava/lang/Object;)V

    new-instance v2, Lcom/waiqin365/lightapp/kaoqin/ab;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/kaoqin/ab;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)V

    invoke-virtual {v3, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v10, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput v9, v2, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_2

    :cond_3
    const-string/jumbo v7, "resubmit"

    invoke-virtual {v7, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_4

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v3, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-direct {v3, v5}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v4, v8, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setBtnInit(Ljava/lang/String;IZ)V

    invoke-virtual {v3, v6}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setTag(Ljava/lang/Object;)V

    new-instance v2, Lcom/waiqin365/lightapp/kaoqin/ac;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/kaoqin/ac;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;)V

    invoke-virtual {v3, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v10, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput v9, v2, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_2

    :cond_4
    const-string/jumbo v6, "approve"

    invoke-virtual {v6, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_5

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v5, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-direct {v5, v6}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;-><init>(Landroid/content/Context;)V

    const v6, 0x7f0202fe

    invoke-virtual {v5, v4, v6, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setBtnInit(Ljava/lang/String;IZ)V

    new-instance v2, Lcom/waiqin365/lightapp/kaoqin/ad;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kaoqin/ad;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Lorg/json/JSONObject;)V

    invoke-virtual {v5, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v10, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput v9, v2, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v5, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_2

    :cond_5
    const-string/jumbo v6, "submit"

    invoke-virtual {v6, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_6

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v5, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-direct {v5, v6}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v5, v4, v8, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setBtnInit(Ljava/lang/String;IZ)V

    new-instance v2, Lcom/waiqin365/lightapp/kaoqin/ae;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kaoqin/ae;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Lorg/json/JSONObject;)V

    invoke-virtual {v5, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v10, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput v9, v2, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v5, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_2

    :cond_6
    const-string/jumbo v6, "back"

    invoke-virtual {v6, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v5, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;

    iget-object v6, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-direct {v5, v6}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;-><init>(Landroid/content/Context;)V

    const v6, 0x7f0202ff

    invoke-virtual {v5, v4, v6, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setBtnInit(Ljava/lang/String;IZ)V

    new-instance v2, Lcom/waiqin365/lightapp/kaoqin/af;

    invoke-direct {v2, p0, v3}, Lcom/waiqin365/lightapp/kaoqin/af;-><init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;Lorg/json/JSONObject;)V

    invoke-virtual {v5, v2}, Lcom/waiqin365/lightapp/kaoqin/view/CustomCheckBtnView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v2, v10, v8}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iput v9, v2, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v5, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->g:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_2

    :cond_7
    return-void
.end method

.method public a(Lorg/json/JSONObject;)V
    .locals 3

    const/4 v2, 0x1

    const-string/jumbo v0, "apply_head"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b(Lorg/json/JSONObject;)V

    :cond_0
    const-string/jumbo v0, "btns"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Lorg/json/JSONArray;)V

    invoke-virtual {v0}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-lez v0, :cond_4

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    :goto_0
    const-string/jumbo v0, "form_config"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c(Lorg/json/JSONArray;)V

    :cond_1
    const-string/jumbo v0, "flow_config"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b(Lorg/json/JSONArray;)V

    :cond_2
    const-string/jumbo v0, "approve_logs"

    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->d(Lorg/json/JSONArray;)V

    :cond_3
    const-string/jumbo v0, "flow_id"

    const-string/jumbo v1, ""

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->m:Ljava/lang/String;

    return-void

    :cond_4
    iput-boolean v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    goto :goto_0

    :cond_5
    iput-boolean v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    goto :goto_0
.end method

.method public a(Z)Z
    .locals 11

    const/4 v4, 0x1

    const v10, 0x7f080065

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    if-eqz v0, :cond_f

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_f

    move v2, v3

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_f

    const-string/jumbo v0, ""

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->k()Z

    move-result v5

    if-eqz v5, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-interface {v5}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_0

    if-eqz p1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->c()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-virtual {v2, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    :goto_1
    return v3

    :cond_0
    :try_start_0
    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SingleTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_2
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_2

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->k()Z

    move-result v5

    if-eqz v5, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-interface {v5}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-eqz v5, :cond_3

    if-eqz p1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->c()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-virtual {v2, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_1

    :cond_3
    :try_start_1
    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_2

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_2

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->m()Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v1, ""

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->q()I

    move-result v6

    const/4 v7, 0x2

    if-ne v6, v7, :cond_6

    const-string/jumbo v1, "yyyy-MM-dd HH:mm"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :cond_5
    :goto_3
    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v6

    if-eqz v6, :cond_8

    if-eqz p1, :cond_8

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->c()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-virtual {v2, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_6
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->q()I

    move-result v6

    if-nez v6, :cond_7

    const-string/jumbo v1, "yyyy-MM-dd"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    goto :goto_3

    :cond_7
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->q()I

    move-result v6

    if-ne v6, v4, :cond_5

    const-string/jumbo v1, "HH:mm"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    goto :goto_3

    :cond_8
    :try_start_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    invoke-virtual {v0, v5, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_2

    goto/16 :goto_2

    :catch_2
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_2

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;

    :try_start_3
    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->c()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v0, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    const-string/jumbo v5, "dates"

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->b()Ljava/lang/StringBuffer;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    const-string/jumbo v5, "count_date"

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kaoqin/view/CustomQingjiaDateSpiltView;->c()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v5, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_3
    .catch Lorg/json/JSONException; {:try_start_3 .. :try_end_3} :catch_3

    goto/16 :goto_2

    :catch_3
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_2

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;

    if-eqz v0, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->k()Z

    move-result v1

    if-eqz v1, :cond_b

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_b

    if-eqz p1, :cond_b

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->c()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-virtual {v2, v10}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_b
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    const-string/jumbo v5, "@@@###"

    invoke-virtual {v1, v5}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    aget-object v5, v1, v4

    aget-object v6, v1, v3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/SelectView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v7

    :try_start_4
    new-instance v8, Lorg/json/JSONArray;

    invoke-direct {v8, v5}, Lorg/json/JSONArray;-><init>(Ljava/lang/String;)V

    move v1, v3

    :goto_4
    invoke-virtual {v8}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-ge v1, v0, :cond_1

    invoke-virtual {v8, v1}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v0

    const-string/jumbo v5, "name"

    invoke-virtual {v0, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    :try_end_4
    .catch Lorg/json/JSONException; {:try_start_4 .. :try_end_4} :catch_5

    move-result v0

    if-eqz v0, :cond_c

    :try_start_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    invoke-virtual {v8, v1}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    const-string/jumbo v9, "id"

    invoke-virtual {v5, v9}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v6, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_5
    .catch Lorg/json/JSONException; {:try_start_5 .. :try_end_5} :catch_4

    :cond_c
    :goto_5
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_4

    :catch_4
    move-exception v0

    :try_start_6
    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V
    :try_end_6
    .catch Lorg/json/JSONException; {:try_start_6 .. :try_end_6} :catch_5

    goto :goto_5

    :catch_5
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_2

    :cond_d
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->h:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iget v5, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->b:F

    const/4 v6, 0x0

    cmpg-float v5, v5, v6

    if-gtz v5, :cond_e

    if-eqz p1, :cond_e

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    const v2, 0x7f0803b1

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_e
    :try_start_7
    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a:Lorg/json/JSONObject;

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    iget v0, v0, Lcom/waiqin365/lightapp/kaoqin/view/TimeLengthView;->b:F

    invoke-virtual {v6, v0}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v6, ""

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_7
    .catch Lorg/json/JSONException; {:try_start_7 .. :try_end_7} :catch_6

    goto/16 :goto_2

    :catch_6
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_2

    :cond_f
    move v3, v4

    goto/16 :goto_1
.end method

.method public b()V
    .locals 4

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->n:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string/jumbo v0, "data_id"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->n:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    :cond_0
    :goto_0
    const-string/jumbo v0, "tab_type"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->j:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v3, "data"

    invoke-virtual {v2}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v2, Lcom/waiqin365/lightapp/kaoqin/c/b/d;

    invoke-direct {v2, v1, v0}, Lcom/waiqin365/lightapp/kaoqin/c/b/d;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/c/b;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/kaoqin/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kaoqin/c/f;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kaoqin/c/b;->start()V

    return-void

    :cond_1
    :try_start_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    const-string/jumbo v0, "exe_id"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->i:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_1

    :cond_2
    :try_start_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->k:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "form_id"

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->k:Ljava/lang/String;

    invoke-virtual {v2, v0, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_0
.end method

.method public b(Lorg/json/JSONArray;)V
    .locals 9

    const/4 v0, 0x0

    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->j:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    if-eqz p1, :cond_1

    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-lez v1, :cond_1

    :goto_0
    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-ge v0, v1, :cond_1

    :try_start_0
    invoke-virtual {p1, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v1

    const-string/jumbo v2, "code"

    const-string/jumbo v3, ""

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "approver"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    const-string/jumbo v3, "isSelect"

    const-string/jumbo v4, "0"

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v4, "1"

    invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    new-instance v3, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const/4 v4, 0x0

    invoke-direct {v3, p0, v4}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const v4, 0x7f08038b

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const v4, 0x7f0803ae

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setHint(Ljava/lang/CharSequence;)V

    new-instance v3, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v5, -0x1

    const/4 v6, -0x2

    invoke-direct {v4, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v5, 0x0

    const/16 v6, 0x1a

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-virtual {v4, v5, v6, v7, v8}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v5, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v3, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v3, v2}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setTag(Ljava/lang/Object;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setBottomLineStatus(Z)V

    const-string/jumbo v2, "value"

    const-string/jumbo v3, ""

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "displayValue"

    const-string/jumbo v4, ""

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    new-instance v3, Lcom/waiqin365/lightapp/kehu/share/a/c;

    invoke-direct {v3}, Lcom/waiqin365/lightapp/kehu/share/a/c;-><init>()V

    iput-object v2, v3, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    iput-object v1, v3, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v1, v3}, Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;->setEmpInfo(Lcom/waiqin365/lightapp/kehu/share/a/c;)V

    :cond_0
    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->o:Lcom/waiqin365/lightapp/view/EmployeeSelectView_Vertical;

    invoke-virtual {v2, v3, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v1, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_1
    :goto_1
    return-void

    :cond_2
    const-string/jumbo v3, "displayValue"

    const-string/jumbo v4, ""

    invoke-virtual {v1, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v3, "</br>"

    const-string/jumbo v4, "\n"

    invoke-virtual {v1, v3, v4}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_1

    new-instance v3, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/view/LabelView_vertical;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const v4, 0x7f08038b

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setBottomLineStatus(Z)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v3, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setTag(Ljava/lang/Object;)V

    new-instance v1, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v3, 0x0

    const/16 v4, 0x1a

    const/4 v5, 0x0

    const/4 v6, 0x0

    invoke-virtual {v2, v3, v4, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->p:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v2, v3, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v1, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_3
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0
.end method

.method public b(Lorg/json/JSONObject;)V
    .locals 6

    const/4 v5, 0x0

    const-string/jumbo v0, "proposer"

    const-string/jumbo v1, ""

    invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "apply_time"

    const-string/jumbo v2, ""

    invoke-virtual {p1, v1, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "face"

    const-string/jumbo v3, ""

    invoke-virtual {p1, v2, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, "apply_name"

    const-string/jumbo v4, ""

    invoke-virtual {p1, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    new-instance v4, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;

    invoke-direct {v4, p0}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v4, v2, v0, v3, v1}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v4, v5}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->a(Z)V

    const/4 v0, 0x1

    invoke-virtual {v4, v0}, Lcom/waiqin365/lightapp/kaoqin/view/CheckHeaderView;->b(Z)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x1

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v5, v5, v5, v5}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v4, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method public c(Lorg/json/JSONArray;)V
    .locals 18

    if-eqz p1, :cond_17

    invoke-virtual/range {p1 .. p1}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-lez v1, :cond_17

    const/4 v9, 0x0

    :goto_0
    invoke-virtual/range {p1 .. p1}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-ge v9, v1, :cond_17

    move-object/from16 v0, p1

    invoke-virtual {v0, v9}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v10

    const-string/jumbo v1, "label"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v1, "code"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string/jumbo v1, "required"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const-string/jumbo v1, "type"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    const-string/jumbo v1, "value"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    const-string/jumbo v1, "margin"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v8

    const-string/jumbo v1, "items"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v16

    const-string/jumbo v1, "describe"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    const-string/jumbo v1, "readonly"

    invoke-virtual {v10, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    const/4 v1, 0x0

    :try_start_0
    invoke-static {v8}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v12

    if-nez v12, :cond_0

    invoke-static {v8}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v12

    if-lez v12, :cond_0

    invoke-static {v8}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    :cond_0
    :goto_1
    move-object/from16 v0, p0

    iget-boolean v8, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v8, :cond_1

    if-nez v9, :cond_5

    const/16 v1, 0x1a

    :cond_1
    :goto_2
    if-lez v1, :cond_6

    new-instance v8, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    move-object/from16 v0, p0

    invoke-direct {v8, v0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v12, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v13, -0x1

    const/4 v14, -0x2

    invoke-direct {v12, v13, v14}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/4 v13, 0x0

    const/4 v14, 0x0

    const/4 v15, 0x0

    invoke-virtual {v12, v13, v1, v14, v15}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    move-object/from16 v0, p0

    iget-object v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v8, v12}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_2
    :goto_3
    const-string/jumbo v1, "1"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_8

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_7

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v6}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    :cond_3
    :goto_4
    invoke-virtual/range {p1 .. p1}, Lorg/json/JSONArray;->length()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne v9, v1, :cond_16

    new-instance v1, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    move-object/from16 v0, p0

    invoke-direct {v1, v0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_4
    :goto_5
    add-int/lit8 v9, v9, 0x1

    goto/16 :goto_0

    :catch_0
    move-exception v1

    move-object v8, v1

    const/4 v1, 0x0

    invoke-virtual {v8}, Ljava/lang/NumberFormatException;->printStackTrace()V

    goto :goto_1

    :cond_5
    const/4 v1, 0x0

    goto :goto_2

    :cond_6
    if-eqz v9, :cond_2

    new-instance v1, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    move-object/from16 v0, p0

    invoke-direct {v1, v0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v8, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v12, -0x1

    const/4 v13, -0x2

    invoke-direct {v8, v12, v13}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, p0

    iget-object v12, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    const/high16 v13, 0x41400000    # 12.0f

    invoke-static {v12, v13}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v12

    const/4 v13, 0x0

    const/4 v14, 0x0

    const/4 v15, 0x0

    invoke-virtual {v8, v12, v13, v14, v15}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    move-object/from16 v0, p0

    iget-object v12, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v12, v1, v8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_3

    :cond_7
    move-object/from16 v1, p0

    invoke-direct/range {v1 .. v7}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    :cond_8
    const-string/jumbo v1, "2"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_a

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_9

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v6}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    :cond_9
    move-object/from16 v1, p0

    invoke-direct/range {v1 .. v7}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    :cond_a
    const-string/jumbo v1, "6"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_c

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_b

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v6}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_b
    move-object/from16 v8, p0

    move-object v10, v2

    move-object v11, v3

    move-object v12, v4

    move-object v13, v6

    move-object v14, v7

    invoke-direct/range {v8 .. v14}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_c
    const-string/jumbo v1, "7"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_e

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_d

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v6}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_d
    move-object/from16 v8, p0

    move-object v10, v2

    move-object v11, v3

    move-object v12, v4

    move-object v13, v6

    move-object v14, v7

    invoke-direct/range {v8 .. v14}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_e
    const-string/jumbo v1, "17"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_10

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_f

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "countDate"

    const-string/jumbo v4, "0"

    invoke-virtual {v10, v3, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "\u5929"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_f
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "startTime"

    const-string/jumbo v5, "00:01"

    invoke-virtual {v10, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ":00"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v14

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "endTime"

    const-string/jumbo v5, "23:59"

    invoke-virtual {v10, v4, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v4, ":00"

    invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v15

    move-object/from16 v10, p0

    move-object v11, v2

    move-object v12, v6

    move-object v13, v3

    invoke-direct/range {v10 .. v15}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_10
    const-string/jumbo v1, "20"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_12

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_11

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v6}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_11
    move-object/from16 v8, p0

    move-object v10, v2

    move-object v11, v3

    move-object v12, v4

    move-object v13, v6

    move-object v14, v7

    invoke-direct/range {v8 .. v14}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->c(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_12
    const-string/jumbo v1, "21"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_14

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_13

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v6}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_13
    move-object/from16 v10, p0

    move-object v11, v2

    move-object v12, v3

    move-object v13, v5

    move-object v14, v4

    move-object v15, v6

    move-object/from16 v17, v7

    invoke-direct/range {v10 .. v17}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_14
    const-string/jumbo v1, "overtime_count"

    invoke-virtual {v1, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-eqz v1, :cond_15

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v6}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_15
    move-object/from16 v0, p0

    invoke-direct {v0, v2, v3, v6, v7}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_16
    move-object/from16 v0, p0

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->q:Z

    if-nez v1, :cond_4

    add-int/lit8 v1, v9, 0x1

    move-object/from16 v0, p1

    invoke-virtual {v0, v1}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v1

    const-string/jumbo v2, "margin"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_4

    invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v1

    if-lez v1, :cond_4

    new-instance v1, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    move-object/from16 v0, p0

    invoke-direct {v1, v0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v3, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    move-object/from16 v0, p0

    iget-object v3, v0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto/16 :goto_5

    :cond_17
    return-void
.end method

.method public d(Lorg/json/JSONArray;)V
    .locals 8

    const v7, 0x7f02047a

    const/4 v6, -0x1

    const/4 v5, -0x2

    const/4 v1, 0x0

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    if-eqz p1, :cond_1

    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v0

    if-lez v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/CustomHalfOfOneLineView;-><init>(Landroid/content/Context;)V

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v6, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0x1a

    invoke-virtual {v3, v1, v4, v1, v1}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Lcom/waiqin365/lightapp/view/LabelViewH;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/view/LabelViewH;-><init>(Landroid/content/Context;)V

    const v3, 0x7f080037

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewH;->setLabel(Ljava/lang/CharSequence;)V

    const-string/jumbo v3, ""

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/LabelViewH;->setContent(Ljava/lang/String;)V

    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v6, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v4, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    move v0, v1

    :goto_0
    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v3

    if-ge v0, v3, :cond_0

    invoke-virtual {p1, v0}, Lorg/json/JSONArray;->optJSONObject(I)Lorg/json/JSONObject;

    move-result-object v3

    new-instance v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/kaoqin/c/a/b;-><init>()V

    const-string/jumbo v5, "approver"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->h:Ljava/lang/String;

    const-string/jumbo v5, "approve_time"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->f:Ljava/lang/String;

    const-string/jumbo v5, "exe_type"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->g:Ljava/lang/String;

    const-string/jumbo v5, "face"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->b:Ljava/lang/String;

    const-string/jumbo v5, "comment"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->e:Ljava/lang/String;

    const-string/jumbo v5, "location_c"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->c:Ljava/lang/String;

    const-string/jumbo v5, "location_a"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->d:Ljava/lang/String;

    const-string/jumbo v5, "travel_rec_type"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->l:Ljava/lang/String;

    const-string/jumbo v5, "travel_rec_pictures"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    iput-object v5, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->k:Ljava/lang/String;

    const-string/jumbo v5, "travel_rec_remark"

    const-string/jumbo v6, ""

    invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/b;->j:Ljava/lang/String;

    invoke-virtual {v2, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0

    :cond_0
    new-instance v0, Lcom/waiqin365/lightapp/kaoqin/a/m;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->mContext:Landroid/content/Context;

    invoke-direct {v0, v3, v2}, Lcom/waiqin365/lightapp/kaoqin/a/m;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    new-instance v2, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;-><init>(Landroid/content/Context;)V

    const-string/jumbo v3, "#00000000"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setCacheColorHint(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3, v7}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setDivider(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v3, v7}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setSelector(Landroid/graphics/drawable/Drawable;)V

    invoke-virtual {v2, v1}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setDividerHeight(I)V

    const-string/jumbo v3, "#ffffff"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setBackgroundColor(I)V

    invoke-virtual {v2, v1, v1, v1, v1}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setPadding(IIII)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_1
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 1

    const/4 v0, -0x1

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    if-ne p2, v0, :cond_0

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->setResult(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->finish()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7897
        :pswitch_0
    .end packed-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->finish()V

    goto :goto_0

    :pswitch_2
    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Landroid/view/View;)V

    goto :goto_0

    :pswitch_3
    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a(Landroid/view/View;)V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0089
        :pswitch_1
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_3
        :pswitch_2
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f0302ae

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "data_id"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->n:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "exe_id"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->i:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "tab_type"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->j:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "form_id"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->k:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->l:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyActy;->b()V

    return-void
.end method
